import request from '@/request/api'
// 1、运行统计-机组完好率详情表(概况表)
export function detailsTable(data) {
  return request({
    url: '/eam-service-operation/intactratio/intactRatioDetails',
    method: 'post',
    data: data
  })
}
// 2、运行统计-机组运行台时
export function unitRunTime(data) {
  return request({
    url: '/eam-service-operation/intactratio/unitRunTime',
    method: 'post',
    params: data
  })
}
// 3、运行统计-机组检修台时
export function unitOverhaulTime(data) {
  return request({
    url: '/eam-service-operation/intactratio/unitOverhaulTime',
    method: 'post',
    params: data
  })
}
// 4、运行统计-获取帆软地址-报表路径接口
export function getAddressPre(data) {
  return request({
    url: '/eam-common-web/finereport/getAddress',
    method: 'get',
    params: data
  })
}
// 5、运行统计-获取帆软地址-获取报表接口后部分
export function getAddressAfter(data) {
  return request({
    url: '/eam-service-system/sys/ConfigType/getByClassifyCodeAndCode',
    method: 'get',
    params: data
  })
}